<template>
    <div>
        <div class="logo">
            <img src="@/assets/logo.png" />
        </div>
        <div class="userinfo">
            欢迎你：Admin
        </div>
    </div>
</template>

<style>
header{
    border-bottom: 1px solid #dcdcdc;
    background-color: lightsteelblue;
}
.logo{
    width:160px;
    float: left;    
}
.logo img{
    width: 100%;
}
.userinfo{
    width:200px;
    float: right;
    text-align: right;
    line-height: 60px;
}
</style>